package com.wanxi.dangdang.model.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
*@author:吕永杰
*@date:
*@description
*/
@Data
@ApiModel(value = "com.wanxi.dangdang.model.pojo.OrderDetails", description = "订单详情表")
public class OrderDetails {


    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "出行人真实姓名")
    private String realName;

    @ApiModelProperty(value = "出行人身份证号")
    private String idCard;

    @ApiModelProperty(value = "出行人联系电话")
    private String phone;

    @ApiModelProperty(value = "订单类型？0表示儿童票，1表示成人票")
    private String ticketType;

    @ApiModelProperty(value = "当前状态？0表示停用，1表示启用")
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "状态：0未删除，1删除")
    private Integer deleteStatus;
}
